#include"List.h"
void Test1()
{
	LTNode* plist = LTInit();
	LTPushBack(plist, 1);
	LTPushBack(plist, 2);
	LTPushBack(plist, 3);
	LTPushBack(plist, 4);
	LTPushBack(plist, 5);
	LTPrint(plist);
	LTPopBack(plist);
	LTPrint(plist);
	LTPopFront(plist);
	LTPrint(plist);
	LTPushBack(plist, 999);
	LTPrint(plist);
	LTPushFront(plist, 666);
	LTPrint(plist);
	//666 2 3 4 999
	LTInsert(plist->next, 0);
	LTInsert(plist, 1000);
	LTPrint(plist);
	//0 666 2 3 4 999 1000
	LTErase(plist->next);
	LTErase(plist->next);
	LTPrint(plist);
}
int main()
{
	Test1();
	return 0;
}